<?php
	
class Admin_Model_Db_Unit extends Itvina_Model_Abstract
{
	protected $unit_code;
	protected $unit_name;
	protected $unit_note;
	protected $unit_id;
	protected $unit_status;
	protected $unit_order;
				
	public function getUnit_code()
	{
		return $this->unit_code;
	}
				
	public function getUnit_name()
	{
		return $this->unit_name;
	}
				
	public function getUnit_note()
	{
		return $this->unit_note;
	}
				
	public function getUnit_id()
	{
		return $this->unit_id;
	}
				
	public function getUnit_status()
	{
		return $this->unit_status;
	}
				
	public function getUnit_order()
	{
		return $this->unit_order;
	}
				
	public function setUnit_code($unit_code)
	{
		$this->unit_code = $unit_code;
		return $this;
	}
				
	public function setUnit_name($unit_name)
	{
		$this->unit_name = $unit_name;
		return $this;
	}
				
	public function setUnit_note($unit_note)
	{
		$this->unit_note = $unit_note;
		return $this;
	}
				
	public function setUnit_id($unit_id)
	{
		$this->unit_id = Itvina_Model_Abstract::settype ( $unit_id, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
				
	public function setUnit_status($unit_status)
	{
		$this->unit_status = Itvina_Model_Abstract::settype ( $unit_status, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
				
	public function setUnit_order($unit_order)
	{
		$this->unit_order = Itvina_Model_Abstract::settype ( $unit_order, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
}